| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

FileLogger.h
1 // FileLogger.h
3 //
5
6 namespace nkLog
7 {
11 class FileLogger final : public Logger
12 {
13 public :
14
20 FileLogger (StringView filePath) noexcept ;
24 virtual ~FileLogger () ;
25
26 // Getters
30 StringView getOutputFilePath () const ;
31
32 // Setters
38 void setOutputFilePath (StringView path) ;
39
40 // Actions
44 virtual void log (StringView message, StringView className) override ;
45 } ;
46 }
nkLog::StringView
Allows to exchange strings with external code.
Definition: StringView.h:18
nkLog::FileLogger::getOutputFilePath
StringView getOutputFilePath() const
nkLog
Encompasses all API of component NilkinsLog.
Definition: String.h:7
nkLog::FileLogger
Default implementation of a logger outputing the logged information to a file.
Definition: FileLogger.h:12
nkLog::Logger
An interface to make all logging capabilities central.
Definition: Logger.h:15
nkLog::FileLogger::~FileLogger
virtual ~FileLogger()
nkLog::FileLogger::FileLogger
FileLogger(StringView filePath) noexcept
nkLog::FileLogger::setOutputFilePath
void setOutputFilePath(StringView path)
nkLog::FileLogger::log
virtual void log(StringView message, StringView className) override